//
//  EBMemberInfo.h
//  ENTBoostKit
//
//  Created by zhong zf on 14-7-2.
//
//

@class EBGroupInfo;
@class TBMemberInfo;

@interface EBMemberInfo : NSObject

///顺序号
@property(nonatomic) int32_t offset; 

///成员编号
@property(nonatomic) uint64_t empCode;
///部门或群组编号
@property(nonatomic) uint64_t depCode;
///用户编号
@property(nonatomic) uint64_t uid;
///成员账号
@property(strong, nonatomic) NSString* empAccount;
///名称
@property(strong, nonatomic) NSString* userName;
///性别
@property(nonatomic) int16_t gender;
///生日
@property(strong, nonatomic) NSDate* birthday;
///职务
@property(strong, nonatomic) NSString*  jobTitle;
///岗位级别
@property(nonatomic) int16_t jobPosition;
///联系电话
@property(strong, nonatomic) NSString* cellPhone;
///传真号码
@property(strong, nonatomic) NSString* fax;
///工作电话
@property(strong, nonatomic) NSString* workPhone;
///电子邮件
@property(strong, nonatomic) NSString* email;
///联系地址
@property(strong, nonatomic) NSString* address;
///备注信息
@property(strong, nonatomic) NSString* description;
///管理权限
@property(nonatomic) int16_t managerLevel;

///客服分机号
@property(nonatomic) int32_t csExt;
///客服号
@property(nonatomic) uint64_t csId;


/////所属部门或群组
//@property(weak, nonatomic) EBGroupInfo* ownerGroup;

- (id)initWithDictionary:(NSDictionary*)dict;

- (id)initWithTBMemberInfo:(TBMemberInfo*)tbMemberInfo;

@end
